<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>interface demo</title>
    <!-- <script src="https://cdn.bootcdn.net/ajax/libs/lodash.js/4.17.21/lodash.min.js"></script> -->
    <script src="../lodash/lodash.min.js"></script>
    <script src="../helpers/bing.js"></script>
  </head>
  <body>
    <script>
      // 示例：使用 Form Data 发送表单数据
      const formData = new FormData();
      formData.append("lotteryId", 2033);
      formData.append("issueNum", 2024);

      fetch("https://1234kj.tv/api/HistoryOpenInfo", {
        method: "POST", // 请求方法
        body: formData, // 请求体，使用 FormData 来发送表单数据
      })
        .then((response) => response.json()) // 解析响应为 JSON
        .then((data) => {
          console.log("Success:", data); // 处理响应数据
        })
        .catch((error) => {
          console.error("Error:", error); // 处理错误
        });
    </script>
  </body>
</html>
